﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

public class PlayerDialog
{
    //private Condition cond;
    private string playerText;
    private List<int> next;
    private List<Condition> need, give;

    public List<Condition> Condition
    {
        get { return need; }
        set { need = value; }
    }

    public List<Condition> Give
    {
        get { return give; }
        set { give = value; }
    }

    public string Text
    {
        get { return playerText; }
        set { playerText = value; }
    }

    public List<int> Next
    {
        get { return next; }
        set { next = value; }
    }

    public PlayerDialog() 
    { 
        next = new List<int>();
        need = new List<Condition>();
        give = new List<Condition>();
    }

    public void GiveCondition()
    {
        GameSession.GiveCondition(give);
    }
}
